<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>{{$header['title']}}</title>
    <meta name="description" content="{{$header['des']}}" /> 
    <meta name="keyword" content="{{$header['keyword']}}" /> 
    <link rel="stylesheet" type="text/css" href="/mcss/all.css">

    <link rel="stylesheet" type="text/css" href="/mcss/header.css">
    <!-- <link rel="stylesheet/less" type="text/css" href="/mcss/header.less" /> -->

    <!-- <link rel="stylesheet/less" type="text/css" href="/mcss/service.less" /> -->
    <link rel="stylesheet" type="text/css" href="/mcss/service.css">
    <!-- <script src="/mjs/less.js"></script> -->
</head>

<body>
    <div id="app">
    @include('mobile.header')
        <div class="center">
            <div class="middle">
                <div class="top fl">
                    <div class="option flc act">
                        外包测试
                    </div>
                    <div class="option flc">
                        开发外包
                    </div>
                    <div class="option flc">
                        IT咨询
                    </div>
                    <div class="option flc">
                        小程序/APP
                    </div>
                </div>
                <div class="content fl act">
                    <div class="left">
                        <img src="/img/index/case1.png" alt="">
                    </div>
                    <div class="right">
                        <div class="title">外包测试</div>
                        <div class="text">xxxx</div>
                    </div>
                </div>
                <div class="content fl">
                    <div class="left">
                        <img src="/img/index/case2.png" alt="">
                    </div>
                    <div class="right">
                        <div class="title">开发外包</div>
                        <div class="text">xxxx</div>
                    </div>
                </div>
                <div class="content fl">
                    <div class="left">
                        <img src="/img/index/case3.png" alt="">
                    </div>
                    <div class="right">
                        <div class="title">IT咨询</div>
                        <div class="text">xxxx</div>
                    </div>
                </div>
                <div class="content fl">
                    <div class="left">
                        <img src="/img/index/case4.png" alt="">
                    </div>
                    <div class="right">
                        <div class="title">小程序/APP</div>
                        <div class="text">xxxx</div>
                    </div>
                </div>
            </div>
        </div>
        @include('mobile.footer')
    </div>
    <script src="/mjs/jquery.js"></script>
    <script>
        $(document).ready(() => {


            // 导航栏 过渡
            // $(".header .middle .right .item").click(function() {
            //     $(this).siblings().children(".menu").slideUp(500);
            //     $(this).children(".menu").stop().slideToggle(500);
            // })

            $(".center .middle .top .option").click(function() {
                let index = $(this).index();
                $(this).addClass("act").siblings().removeClass("act");
                $(".center .middle .content").eq(index).addClass("act").siblings().removeClass("act");
            })


        })

        // 响应式跳转
        changeMargin();
        window.onresize = function() {
            changeMargin();
        };

        function changeMargin() {
            if (a) {
                var docWidth = document.body.clientWidth;
                if (docWidth >= 1360) {
                    location.href = "";
                    a = false;
                }
            }

        }
    </script>
    <script src="/mjs/nav.js"></script>
</body>

</html>